package org.dromara.system.domain.bo;

import org.dromara.system.domain.SysUserMachinePolicy;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.system.domain.common.BasePageReqDTO;

import java.math.BigDecimal;

/**
 * 机具政策业务对象 sys_user_machine_policy
 *
 * @author Lion Li
 * @date 2025-07-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = SysUserMachinePolicy.class, reverseConvertGenerate = false)
public class SysUserMachinePolicyBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    /**
     *
     */
    private Long userId;

    /**
     * 机具政策名称
     */

   @NotBlank(message = "政策名称不能为空！")
    private String policyName;

    /**
     * 阶段考核月数
     */
    private Integer stageCheckMonth;

    /**
     * 阶段每月考核金额
     */
    private Integer stageCheckAmountMonth;

    /**
     * 阶段返现返现金额
     */
    private BigDecimal stageCashBackAmount;

    //阶段返现是否绑定押金 0否1是
    @NotNull(message = "阶段返现是否绑定押金不能为空！")
    private Integer  stageBackBindDeposit;

    //阶段返现是否绑定会员 0否1是
    @NotNull(message = "阶段返现是否绑定会员不能为空！")
    private Integer  stageBackBindMember;

    /**
     * 达标返现考核天数
     */
    private Integer completeCheckDay;

    /**
     * 达标返现考核金额
     */
    private BigDecimal completeCheckAmount;

    /**
     * 达标返现 返现金额
     */
    private BigDecimal completeCashBackAmount;

    /**
     * 备注
     */
    private String remark;


}
